package abaco;

import java.util.HashMap;

import abaco.gui.Menuable;
import abaco.gui.Panel;

public interface Symbol {
	public static final String UNDEFINED_LATEX = "{?}";
	public static final String UNDEFINED_MATHML = "<mi>?</mi>";

	public Symbol getSymbolParent();

	public Symbol setSymbolParent(Symbol parent);

	public Symbol removeSymbolParent();

	public Symbol getSymbolChild(String name);

	public HashMap<String, Symbol> getSymbolChildren();

	public Symbol setSymbolChild(Symbol child, String name);

	public String getSymbolChildName(Symbol child);

	public Symbol removeSymbolChild(String name);

	public Symbol buildPanel(Panel panel);

	public String toLatex();

	//public String toMathMl();
}
